

#ifndef _GEOMETRYDATA_H_
#define _GEOMETRYDATA_H_

#include "ExchangeApi.hpp"
#include "../OLApp/defines.hpp"
#include "../OLCore/AbstractObject.hpp"
#include "../OLCore/AbstractGeometryData.hpp"


namespace NSExchange {

	class EXCHANGEAPI GeometryData : 
		public NSCore::AbstractGeometryData
	{
	public:
		GeometryData();
		~GeometryData();
	public:
		virtual int addGeometryRaw(int id, QList<int>& ids, Sp(vtkPolyData) raw, TopoDS_Shape tp) override;
		virtual NSCore::AbstractGeometry* getGeometryRaw(int id) override; 
		virtual void updateGeometry(TopoDS_Shape tp) override;

		virtual int getId(int cellid) override; 

		virtual void mapId(int key_id, int value_id) override;
	public:
		virtual inline QString className() override { return "GeometryData"; }

	};
}


#endif

